package ejb;

import java.util.ArrayList;

import javax.ejb.Remote;
import javax.ejb.Remove;

@Remote
public interface IRemoteLoginnedUserBean {

	public void fillFields(String login, int object_id, ArrayList<Integer> groups,ArrayList<String> grnames,int token);
	
	public String getLogin();
	
	public int getObjectId();
	
	public ArrayList<Integer> getGroupIds();
	
	public ArrayList<String> getGroupNames();
	
	public Boolean checkAuthorisation(Long d);
	
	@Remove
	public void removeBean();
}
